package org.onion.pattern.sample.order.doamin.pay.event;

import lombok.Data;
import org.onion.pattern.event.domain.DomainEvent;
import org.onion.pattern.sample.order.doamin.pay.PayOrder;

import java.time.LocalDateTime;

@Data

public class PayCancelEvent implements DomainEvent {

    private PayOrder order;

    @Override
    public String eventKey() {
        return null;
    }

    @Override
    public LocalDateTime eventTime() {
        return null;
    }

    @Override
    public Object domainId() {
        return null;
    }
}